package com.itheima.pojo;

import java.io.Serializable;

public class Log implements Serializable {
    private String operator;//操作人
    private String optionTime;//操作时间
    private String IP;//操作人IP
    private String URL;//访问资源
    private String executeTime;//执行时长

    public Log() {
    }

    public Log(String operator, String optionTime, String IP, String URL, String executeTime) {
        this.operator = operator;
        this.optionTime = optionTime;
        this.IP = IP;
        this.URL = URL;
        this.executeTime = executeTime;
    }

    public String getOperator() {
        return operator;
    }

    public void setOperator(String operator) {
        this.operator = operator;
    }

    public String getOptionTime() {
        return optionTime;
    }

    public void setOptionTime(String optionTime) {
        this.optionTime = optionTime;
    }

    public String getIP() {
        return IP;
    }

    public void setIP(String IP) {
        this.IP = IP;
    }

    public String getURL() {
        return URL;
    }

    public void setURL(String URL) {
        this.URL = URL;
    }

    public String getExecuteTime() {
        return executeTime;
    }

    public void setExecuteTime(String executeTime) {
        this.executeTime = executeTime;
    }

    @Override
    public String toString() {
        return "Log{" +
                "operator='" + operator + '\'' +
                ", optionTime='" + optionTime + '\'' +
                ", IP='" + IP + '\'' +
                ", URL='" + URL + '\'' +
                ", executeTime='" + executeTime + '\'' +
                '}';
    }
}
